<?php

namespace App\Transformers\Admin;

use League\Fractal\TransformerAbstract;

class SectionUserTransformer extends TransformerAbstract
{
    public function transform($user)
    {
        return [
            'id' => $user->id,
            'name' => $user->name,
            'username' => $user->username,
        ];
    }
}

